
import { http } from './../utils'
const adminlist = params => http.get('/api/administrator/list', params)//管理员列表
const admindelete = params => http.get('/api/administrator/delete', params)//管理员删除
const adminadd = params => http.post('/api/administrator/add', params)//管理员添加
const administratorrolelist = params => http.get('/api/administratorrole/list', params)//管理员角色
const adminalter = params => http.post('/api/administrator/add', params)//管理员修改

export default {
    adminlist,
    admindelete,
    adminadd,
    administratorrolelist,
    adminalter
}